blade if

109

use if in laravel blade -

@if($user->status =='active')         
      <td>{{ $user->name }}</td>         
@else
      <td> Guest </td>        
@endif

Comments

Submit
0 Comments